package com.zzc.repository;

import com.zzc.domain.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author zzc
 */
public interface ProductESRepository extends ElasticsearchRepository<Product,Integer> {

    List<Product> findByproductName(String name);

}
